package com.system.outpatientsystem.service;

import com.system.outpatientsystem.DTO.AppointmentDTO;
import com.system.outpatientsystem.pojo.appointment_table;

import java.util.List;

public interface AppointService {
    void appointment(appointment_table table);

    List<AppointmentDTO> list(Integer userId);

    void deleteAppointment(Integer id);

    AppointmentDTO findById(Integer id);

    boolean lessTwenty(Integer id);
}
